Revert "Revert "Dropping library path dependencies""

This reverts commit 1820d934e936a9a68b993538828204487e83ef3a.