fixed Win32 build