upgrade to work with GHC-7.8
Merge pull request #4 from elisehuard/master

upgrade to work with GHC-7.8