Fix up version number comparisons.