Merge branch 'js/mingw-redirect-std-handles' into maint