Fix xapian gem cherry-picked in devel-1.4.8

cf. #229