sys.platform isn't a function