move mac to coreutils for better flag options