replace strcmpi by stricmp to simplify portability