Fix warnings on win32 build.