Fix Xapian support