Smartly compare version strings during autoupdate check.