A few win32 fixes.