Revert "link apps into shared"

This reverts commit 98031f0d9a32143a835344d75dac033f2cfe4f7e.