Use distutils.util.get_platform() instead of sys.platform