Win32 buildfix