Add a hack to support both Cabal-1.16 and Cabal-1.18 Setup.hs script

fixed number of arguments for programFindLocation