Fix the check for boost root.
Boost no longer has a 'configure' file. Also check for $BOOST_ROOT as that's the standard way of specifying boost's location.