Only run InheritFolderPermissions on Windows