take @thorstenkampe's advice and use platform.platform instead of os.name/sys.platform, as suggested in #6