Fix a problem of failed build with "Cabal 1.18"

Adding a hack is the same as https://github.com/scrive/hdbc-postgresql/commit/e9b2fbab07b8f55ae6a9e120ab0b98c433842a8b