Add cabal sandbox and build folder to gitignore.
Fix dependency installation.