Check for com_err library, but only if --with-kerberos was used.