Try CMake 2.8.10 as an older version still gives an error.