Configure cabal for building