Install dependencies before cabal configure.