Derive Typeable to support base>=4.7

Builds with base==4.7 and GHC 7.8.20140130 (ghc/ghc@65d05d7)