Fix OS X build
Merge pull request #3 from eile/master

Fix OS X build