Fix travis cmake build.