Cabal 1.20

With this change it seems to work with Cabal 1.20 as far as I can tell.