bpo-27593: Updates Windows build to use information from git (#262)

* bpo-27593: Updates Windows build to use information from git
3 files changed