Fix event search function. strstr appears to be broken on libfxcg, and I need stristr/strcasestr.