Wipe out strcasecmp where possible in favor of this function.