Patch changing strcmp to strcasecmp