Minor changes to the build system

- Added detection of Boost.