[Haskell] class instance lost during re-export & packaging