Fix mingw parallel build