Fix build for Apple's OS X
Merge pull request #12 from alexey-lysiuk/fix_osx_build

Fix build for Apple's OS X