Fix build under GHC 7.4.
Merge pull request #3 from mboes/generics-7.4

Fix build under GHC 7.4. Thanks Mathieu Boespflug!