Fix CMake 3.0 dev warnings