build shared