Add a hack to support both Cabal-1.16 and Cabal-1.18 Setup.hs script (fixed number of arguments for programFindLocation). Taken from hdbc-postgresql commit e9b2fbab07b8f55ae6a9e120ab0b98c433842a8b.