Fix version comparison to be numeric, not lexical