Modify build script to work on MacOS.
Merge pull request #1 from jfarrell468/master

Modify build script to work on MacOS.