build: fix static dll link for mingw
build: fix static dll link for mingw

dll's are no longer dynamically linked to libgcc/libstdc++/libssp

(cherry picked from commit 9ed8979e294fb7a42e26a6b6541f614554663bea)

reddcoin-project/reddcoin,reddcoin-project/reddcoin,reddcoin-project/reddcoin,reddcoin-project/reddcoin,reddcoin-project/reddcoin,reddcoin-project/reddcoin