add readline dependency