Remove unused funtion in Setup.hs so it works with Cabal HEAD