Add simplistic reimplementation of strcasestr to compat library