s3:vfs_scannedonly: fix a build issue on IRIX and HP-UX