CMake require now 2.8.11 [skip ci]

Plus alternative way of handling slash and dash differences in CMake.