This is a follow-up for D5408. After several builds, I got one timeout
from the kitware PPA that caused a build failure.
This diff is installing cmake from the prebuilt binaries. It uses the
first supported stable version directly downloaded from cmake.org.
Hopefully this will make the cmake installation more robust on Travis.
It makes no difference in the build duration.