Make things compile on GHC 7.7
Merge pull request #9 from bgamari/master

Make things compile on GHC 7.7