Fix a bug with coreutils installed under Mac OS X