Fix error in libreadline check