Handle cmake policy.