Fix Windows XP support for msvs builds.