Suppress warnings and add BOOST_SYMBOL_VISIBLE to exceptions