Fix the windows build.
Bump required windows version to xp sp2.