Fix build issues with GHC 7.8 (fixes #20)

see https://github.com/m4dc4p/haskelldb/issues/20