Work around cabal/Paths_* issue

See haskell/cabal#1759