Generate msvc implib and use it in examples.