[boost] Exception visibility and non-GCC compilers