Don't include rpath lines in dependency lists

The rpath variable should only be used when executing commands, if it leaks into
a dependency list is causes havoc with the dependencies.
auto merge of #12076 : alexcrichton/rust/rpath-makefile-dep, r=thestinger

The rpath variable should only be used when executing commands, if it leaks into
a dependency list is causes havoc with the dependencies.