fix readline build error bugsnet #66576