When parts of iostream lib are directly compiled into tests, without any DLL created, we should not set BOOST_IOSTREAMS_DYN_LIB.