Forgot to import os.name.