Fixing build issue on OS X
Merge pull request #1 from spiralman/master

Fix OS X build issue