Silence a bunch of warnings from a new cmake policy