Fixed a small issue in the osx build script when grabbing the source tree from github