strncasecmp and strcasecmp are not implemented in windows, so have copied the strcasecmp.c file from mg, and added strncasecmp(), and this is compiled and added to the windows d2m library