fixed compiling with GHC 7.8.1

GHC 7.8.1 exports Typeable1 again, so this fix needs to be removed from that version on.