Compensate for sys.version_info not being a named tuple in older Python versions.