Remove dependency on readline, which is not avail on Windows