also build shared files too.