Updated script for git
Fixed PREFIX and BUILD_DIR