Use a pre-built version of CMake on travis
Fix compiler flag detection on clang