fixed checks for readline (HAVE_READLINE -> HAVE_LIBREADLINE), to agree with what config.h provides if used
Merge pull request #2 from jfeist/fix_readline_check

fixed checks for readline (HAVE_READLINE -> HAVE_LIBREADLINE)