Update build script to work with GIT