s3:vfs_scannedonly: fix build on HP-UX