Fix build with older CMake versions.
VERSION_GREATER_EQUAL was added in CMake 3.7 and ECM still depends on CMake 2.8.12