use GNU coreutils for osx
fix cygwin commits