This thing should work without including windows.h

Fixing something so it can be compiled in *NIX based OS