Add the RTS library path to the library search path In case the RTS is being explicitly linked in. For #3807.
Add the RTS library path to the library search path
In case the RTS is being explicitly linked in. For #3807.

nathyong/microghc-ghc,green-haskell/ghc,urbanslug/ghc,oldmanmike/ghc,oldmanmike/ghc,green-haskell/ghc,siddhanathan/ghc,tibbe/ghc,elieux/ghc,vTurbine/ghc,lukexi/ghc,gcampax/ghc,tjakway/ghcjvm,spacekitteh/smcghc,siddhanathan/ghc,oldmanmike/ghc,wxwxwwxxx/ghc,gridaphobe/ghc,mcschroeder/ghc,ekmett/ghc,urbanslug/ghc,sdiehl/ghc,elieux/ghc,urbanslug/ghc,holzensp/ghc,fmthoma/ghc,spacekitteh/smcghc,shlevy/ghc,mettekou/ghc,tjakway/ghcjvm,tjakway/ghcjvm,green-haskell/ghc,acowley/ghc,nushio3/ghc,ghc-android/ghc,mfine/ghc,lukexi/ghc,frantisekfarka/ghc-dsi,lukexi/ghc,nathyong/microghc-ghc,GaloisInc/halvm-ghc,gcampax/ghc,ghc-android/ghc,nathyong/microghc-ghc,sgillespie/ghc,sdiehl/ghc,vikraman/ghc,elieux/ghc,acowley/ghc,sgillespie/ghc,mcschroeder/ghc,siddhanathan/ghc,TomMD/ghc,forked-upstream-packages-for-ghcjs/ghc,christiaanb/ghc,shlevy/ghc,oldmanmike/ghc,mettekou/ghc,hferreiro/replay,frantisekfarka/ghc-dsi,jstolarek/ghc,ml9951/ghc,vikraman/ghc,gcampax/ghc,forked-upstream-packages-for-ghcjs/ghc,gcampax/ghc,anton-dessiatov/ghc,nkaretnikov/ghc,ekmett/ghc,jstolarek/ghc,olsner/ghc,nushio3/ghc,ilyasergey/GHC-XAppFix,tjakway/ghcjvm,ghc-android/ghc,vikraman/ghc,gcampax/ghc,urbanslug/ghc,mettekou/ghc,snoyberg/ghc,gridaphobe/ghc,wxwxwwxxx/ghc,ezyang/ghc,forked-upstream-packages-for-ghcjs/ghc,nushio3/ghc,nushio3/ghc,holzensp/ghc,lukexi/ghc-7.8-arm64,da-x/ghc,anton-dessiatov/ghc,mfine/ghc,shlevy/ghc,wxwxwwxxx/ghc,siddhanathan/ghc,mcschroeder/ghc,vikraman/ghc,vTurbine/ghc,bitemyapp/ghc,forked-upstream-packages-for-ghcjs/ghc,ilyasergey/GHC-XAppFix,sdiehl/ghc,siddhanathan/ghc,sdiehl/ghc,sdiehl/ghc,mettekou/ghc,ekmett/ghc,da-x/ghc,sgillespie/ghc,spacekitteh/smcghc,mcschroeder/ghc,lukexi/ghc-7.8-arm64,ekmett/ghc,da-x/ghc,lukexi/ghc-7.8-arm64,bitemyapp/ghc,da-x/ghc,lukexi/ghc,TomMD/ghc,christiaanb/ghc,anton-dessiatov/ghc,GaloisInc/halvm-ghc,wxwxwwxxx/ghc,tjakway/ghcjvm,ghc-android/ghc,vTurbine/ghc,sgillespie/ghc,christiaanb/ghc,fmthoma/ghc,AlexanderPankiv/ghc,hferreiro/replay,holzensp/ghc,ml9951/ghc,nkaretnikov/ghc,ezyang/ghc,acowley/ghc,vikraman/ghc,ml9951/ghc,nushio3/ghc,mcmaniac/ghc,snoyberg/ghc,ezyang/ghc,ryantm/ghc,bitemyapp/ghc,mfine/ghc,sgillespie/ghc,nomeata/ghc,ml9951/ghc,acowley/ghc,mcschroeder/ghc,ryantm/ghc,nathyong/microghc-ghc,AlexanderPankiv/ghc,snoyberg/ghc,vTurbine/ghc,sdiehl/ghc,hferreiro/replay,olsner/ghc,da-x/ghc,fmthoma/ghc,mcschroeder/ghc,tjakway/ghcjvm,nathyong/microghc-ghc,ryantm/ghc,olsner/ghc,TomMD/ghc,mcmaniac/ghc,ekmett/ghc,AlexanderPankiv/ghc,vTurbine/ghc,tibbe/ghc,olsner/ghc,jstolarek/ghc,nathyong/microghc-ghc,mfine/ghc,ml9951/ghc,TomMD/ghc,GaloisInc/halvm-ghc,acowley/ghc,forked-upstream-packages-for-ghcjs/ghc,ryantm/ghc,shlevy/ghc,tjakway/ghcjvm,snoyberg/ghc,nkaretnikov/ghc,ghc-android/ghc,lukexi/ghc,green-haskell/ghc,acowley/ghc,wxwxwwxxx/ghc,holzensp/ghc,frantisekfarka/ghc-dsi,ezyang/ghc,mcmaniac/ghc,mettekou/ghc,anton-dessiatov/ghc,sgillespie/ghc,AlexanderPankiv/ghc,ryantm/ghc,da-x/ghc,oldmanmike/ghc,nushio3/ghc,mettekou/ghc,wxwxwwxxx/ghc,GaloisInc/halvm-ghc,gcampax/ghc,forked-upstream-packages-for-ghcjs/ghc,lukexi/ghc-7.8-arm64,tibbe/ghc,hferreiro/replay,TomMD/ghc,ilyasergey/GHC-XAppFix,gridaphobe/ghc,fmthoma/ghc,urbanslug/ghc,nomeata/ghc,siddhanathan/ghc,ml9951/ghc,tibbe/ghc,elieux/ghc,hferreiro/replay,olsner/ghc,fmthoma/ghc,mcmaniac/ghc,TomMD/ghc,gridaphobe/ghc,vikraman/ghc,shlevy/ghc,spacekitteh/smcghc,da-x/ghc,jstolarek/ghc,nkaretnikov/ghc,shlevy/ghc,spacekitteh/smcghc,gridaphobe/ghc,nathyong/microghc-ghc,ml9951/ghc,elieux/ghc,christiaanb/ghc,gridaphobe/ghc,siddhanathan/ghc,mcmaniac/ghc,nkaretnikov/ghc,bitemyapp/ghc,mfine/ghc,ilyasergey/GHC-XAppFix,lukexi/ghc-7.8-arm64,vTurbine/ghc,urbanslug/ghc,urbanslug/ghc,hferreiro/replay,elieux/ghc,elieux/ghc,anton-dessiatov/ghc,fmthoma/ghc,AlexanderPankiv/ghc,nomeata/ghc,GaloisInc/halvm-ghc,GaloisInc/halvm-ghc,acowley/ghc,olsner/ghc,sdiehl/ghc,mettekou/ghc,jstolarek/ghc,vTurbine/ghc,sgillespie/ghc,oldmanmike/ghc,ezyang/ghc,nushio3/ghc,ezyang/ghc,christiaanb/ghc,hferreiro/replay,ml9951/ghc,holzensp/ghc,gridaphobe/ghc,frantisekfarka/ghc-dsi,snoyberg/ghc,anton-dessiatov/ghc,vikraman/ghc,green-haskell/ghc,gcampax/ghc,ghc-android/ghc,christiaanb/ghc,wxwxwwxxx/ghc,christiaanb/ghc,nomeata/ghc,nomeata/ghc,AlexanderPankiv/ghc,nkaretnikov/ghc,oldmanmike/ghc,fmthoma/ghc,snoyberg/ghc,ghc-android/ghc,mfine/ghc,ezyang/ghc,GaloisInc/halvm-ghc,AlexanderPankiv/ghc,mcschroeder/ghc,frantisekfarka/ghc-dsi,snoyberg/ghc,mfine/ghc,anton-dessiatov/ghc,TomMD/ghc,shlevy/ghc,olsner/ghc,tibbe/ghc,bitemyapp/ghc,nkaretnikov/ghc,forked-upstream-packages-for-ghcjs/ghc