* Fix build on MSVC.
* Switch to statically-linked libraries instead of DLLs on MSVC.

9 files changed