Try to set BOOST_SPIRIT_THREADSAFE