PvAPI support on Windows with MinGW (see Patch #2083)