Some win32 fixes.