Fix OSX build
Merge pull request #129 from alexandrezia/fix_osx_build

Fix OSX build