Adding Macro to accomodating the difference of sleeping method in different boost::thread library.