Fixed win32 compilation
Merge pull request #130 from lpn/master

Win32 compilation fix