Unbreak Windows building

sleep() is not defined in Windows, this is a simple fix