adjust build scripts for git