Revert "Don't use msvc libs for mingw build"

This reverts commit 3985c01ad71159b888677d0fe2019d7a05debeed.