Fix MSWin32 issues.