[boost] shared_ptr and BOOST_DISABLE_THREADS