Use 'c_strcasecmp' instead of 'strcasecmp'.