os.name => sys.platform for greater granularity, in preparation for OS X support