compiles on mac
Merge pull request #1 from ikolesov/master

compiles on mac