Fix Cabal config handling