fix build for GHC 7.8 RC2
Merge pull request #2 from osa1/master

fix build for GHC 7.8 RC2