Fix Win32 build issues.