Travis: add prebuilt cmake 3.1

* update the commented out code that was only for 2.8.7