Fix warning on CMake 3.0