Simplify libedit/readline detection somewhat.