pipeline: build shared object for pipeline