Set stdout to use line buffering in ghc-cabal