Fix OS X build.
Merge pull request #24 from jshrake/master

Fix OS X build.