Fixed cmake error on mac install
Merge pull request #123 from bafipawi/fixMacCompile

Fixed cmake error on mac install