fix compilation error on mac, conflict header, boost::atomic vs std::atomic