lib1515.c: Added support for Windows using the Sleep function