update build.py for git, enugh to make build-prerelease.bat work