Fix build on Windows with Visual Studio.
Merge pull request #3 from Patman64/vs_fix

Fix build on Windows with Visual Studio.