Only use boost::thread::sleep_for with recent enough Boost