fixed Win32 build with MSVC