Fix issue with diffs on xp