patch applied (cabal): Split ghc's build action into buildLib and buildExe