Compatibility with older GCC versions in the search plugin