Fix build for GHC 7.4

Our last pull request broke the build on Travis. This should fix it.