Switch some more build scripts to work with Git