Fix sleep calling under Linux. Under windows untested.
Merge pull request #1 from oplatek/master

Fixed compiling in Linux (sleep function)