Revert "Add rpath to shared libs as well as executables"

This reverts commit f10fec0df62a3c1302e3275a6d8341391bb13fc4.