Revert "Link more libs"

This reverts commit a88294bc82c490d1bea7bb122e4ef48a84fc5f78.