Fix cmake flags in travis script.