Fix for new haskell-generate