Add import/export symbols for MSVC.

When compiling the library with MS Visual Studio, a .lib file will be created and installed to lib/.