Fixed definition of sleep() on Windows.

CPU is no longer running on 100% load and glfw window is created in a
timely fashion.