This patch replaces the calls to g_strcasecmp with either