[GHC] #10492: rpath & shared libraries in ghc 7.10.1