This code existed to support building Cabal with 7.4 and earlier, but we have recently dropped support for 7.4.