Fixed: Now usable on Windows too

Tested with Windows 7, Visual Studio 2013 Express.

Note: NOT tested on another system (I don't know if it still works on Linux)
Note2: What are those __WINDOWS__ defines for? They do not work as far as I can tell, so I changed them to WIN32