Add MinGW compiler detection.