make external link comparisons case-insensitive but keep the given case