Support for BOOST_TEST_DYN_LINK.