Fix for compiling on Windows
Merge pull request #2 from mickgiles/master

Fix for compiling on Windows