Fixed win32 compilation