Unbreak the build with CMake < 2.8.12.