export BOOST_BUILD_PATH=<boost-source>/tools/build/v2before building. You can add --debug-configuration option to bjam and verify the right Boost.Build is used.