change cmake version to 2.8 to match travis supported version