Use result of OPM_DYNLINK_BOOST_TEST to determine whether or not to #define the Boost symbol BOOST_TEST_DYN_LINK . While here, replace an unprintable character with the proper UTF-8 encoding in a comment.