Build/CMake: Fix build on older cmakes that don't support the recently added policy