Modify call to locate build directory to use the git equivalent call.
Merge pull request #1 from rdobson/fix_git_build

Modify call to locate build directory to use the git equivalent call.
Merge pull request #2 from rdobson/master

Modifications required to ensure the internal build system can use the git repo