Could you perhaps give a patch? I don't feel
like going through and changing every instance of BlockInterfaceType to
something else.
Having a closer look I think the underlying problem is a name conflict with a #define in Mingw's header file basetyps.h, so renaming variables looks right to me. Patch attached.