Trying to get it to pass for GHC 7.8.1

Copying an attempt found at https://github.com/nikita-volkov/graph-db/blob/master/.travis.yml