As for copying from the MinGW directory, that would be ideal, however it's not possible to get the build directory automatically from the build system. The naming of the libraries also changes between builds, for instance the pthread libraries between the two builds that we have used.