added patch to allow for osx build
Merge pull request #2 from thornag/osx-build

added patch to allow for osx build