compile fix for Win32 mode