Generator code ported to 64-bit Windows / MinGW.