cpio: fix build without gets