fix crash when RimeTraits contains NULL pointers; fix typo.
build shared library with msvc.