Fix wrong conversion of sleep to usleep