Move BOOST_TEST_DYN_LINK preprocessor define to build script.