CMake 3.0 fix