Update build script for git