Fix libsearch warnings