Switch to using #build_shared.