Use more functionality from ghc-mod to get the right GHC command line options.