Fixing Mojave's brew install of cmake

homebrew does not yet officially supports OSX 10.14 -Mojave-.

As such, its cmake install is broken.

Fix

For some reason, the cmake binary has wrong permissions.

Fix it as follows:

$ chmod 744 /usr/local/bin/cmake
$ chmod 744 /usr/local/bin/ccmake
$ chmod 744 /usr/local/bin/cmakexbuild