Local copy of strcasecmp function, not available in some systems.