Fixed win32 build