Improved check (#5553): Detect stricmp(var.c_str(), var.c_str())