Replace deprecated glib function g_strcasecmp() with POSIX
strcasecmp().