fix build on mac
Merge pull request #3 from martynovs/master

fix build on mac