add version info to lib
fixes for msvc build
working on win32 support
fixed for clang and gcc build
Merge branch 'master' into dev