Generate static library for <toolset>msvc

Currently the library does not dllexport anything, so default build
configuration does not generate any import library.
Quick fix for Visual C++ is to generate static library instead.
This also allows to build tests with msvc.

I guess, a better fix may be desirable.