Better fix for strcasecmp on Darwin