First go at CMake + Travis support.