fixed Mac OSX build
Merge pull request #46 from jahntheman/master

fixed Mac OSX build