Looks like libreadline v. 5.x already used the "new" splitted include files and function definitions: lowering version check.

Also fixed "spelling" error
On linux (at least on CentOS) libreadline also requires libncurses