Newer Linux CPython releases set sys.platform to linux rather than linux2