fixes libreadline install script