Hadrian: support dynamically linking ghc