Only use generics on GHC >= 7.2.