cmake: add BOOST_LOG_DYN_LINK flag