using readline fix from mislav (see https://github.com/sstephenson/ruby-build/issues/526)