fix the libreadline->ncurses dep to be backward-compatible, really

Signed-off-by: Fotis Georgatos <fotis.georgatos@uni.lu>