Make examples/status.c compile on Windows
Merge pull request #2318 from linquize/sleep

Make examples/status.c compile on Windows