Added support for GNU coreutils for mac