[travis] Adding installation of CMake on OS X 

To address issue https://github.com/travis-ci/travis-ci/issues/2408 .