Fix MSVC build, implement DSO test for Windows
Merge pull request #80 from tribal-tec/master

Fix MSVC build, implement DSO test for Windows