enable osx build
Merge pull request #5 from vblagoje/osx_patch

enable osx build