add BOOST_TEST_DYN_LINK define if shared libraries are probably not going to be used

regardless of how this is determined