use brew coreutils if possible