Fix for win32 compatibility
Merge pull request #7 from sixpearls/win32-compat

Fix for win32 compatibility