fix for CMake >= 2.8.10