Fix OSX build
Merge pull request #320 from tribal-tec/master

Fix OSX build