New RPATH logic (ready for review)



<!---
@huboard:{"order":669.5,"custom_state":""}
-->

I'm guessing this is also superseded by LibraryDependencies below.