add mingw stubs