fix osx build
Merge pull request #4 from ashleyh/fix-osx-build

fix osx build