Rewrite link_ghc_libs