fix libreadline dependencies on latest ubuntu