Link to libraries
Revert "Link to libraries"

This reverts commit b60793cea9f0584a8e83feafc260308ae339a2ef.