restore boost under a define USE_BOOST