Change readline version check to <6.2

Required for compilation on Fedora against readline version 6.2