remove all dependencies on ghc-api