Fix a CMake 3.1 warning