Force CMP0017 policy to OLD.

This fixes the warning spam on new versions of CMake.