Removing dependency on gnureadline