Fix LegacyTypes in .cabal