Fix cmake script in travis