RFC - patch for psapi and missing imports on Mingw target