Made darwin-specific dired hacks conditional