adjusting paths, for updated coreutils on OSX