Fixed build with GNU coreutils