Fixes #5728: list-compatible input is not working on aix