fix readline dependency