Fix compilation for GHC <7.6.
Merge pull request #27 from gregorycollins/master

Fix compilation for GHC <7.6.