cmake works on mac