Silence deprecation warning from CMake 3.0+