Ease switch between libedit and readline.