GHC 7.4 support
Merge pull request #245 from yesodweb/fixes-for-7.4

GHC 7.4 support