fixed, osx build
Merge pull request #1 from davilla/master

fixed osx build