fix to use salt.utils.is_windows instead of sys.platform