Fix Mac CMake setup.