Correct cmake to work on Mac OS X