Fix sleep for old boost