Update build system for newer Cabal version