Fix up path comparisons.