[PD] Linking externals on windows with mingw32