Build on OS X
Merge pull request #22 from patchhf/master

Build on OS X