Fix the return value of SLEEP on Darwin.