lib: make iovec obj instead of lib