Modify buildconfig.h for MinGW build