[Mingw64/Win10] : swi-prolog can't locate foreign lib, pcre4pl

I don’t know who maintains this version. Hopefully this person listens in here. Installing the plugins in the public bin directory is rather dubious. Most of them have short and common names as they are normally installed in a separate directory, e.g., /usr/lib/swipl/lib/<arch>/socket.so. The Windows installation puts all exe and dll files in one directory for convenience, but this directory is not shared with other applications.