Fix Win32 Compilation issues