Cabal build system with main