Fix handling Cabal failures