* fix build on OS X via CMake
Merge pull request #1 from alexey-lysiuk/osx-fix

* fix build on OS X via CMake