Updated check that cabal exists.