seed: fix build with readline>=6.3.