fixes for Vec types
make sure that used vector types work
need to register types for static builds