Revert "Removed the building stuff, the building should be done by the library that uses the shared service"

This reverts commit 56a9a8a0ff67b35a049e9af02dcd9ac20f756957.