Compatibility for GHC 7.8-rc1
Merge pull request #6 from bartavelle/master

Compatibility for GHC 7.8-rc1. Thanks for the patch.