Auto compile for correct readline version