Changed minimum cmake version from 2.8 to 2.6.