use os.name instead of relying on user config