Fix git-version-gen.cmd when git.cmd is used.
Update native with Windows XP crashfix.

Fixes #861.
Merge pull request #865 from unknownbrackets/win-xp

Fix Windows XP + one more msysgit fix