Fix for Cabal 1.18

This addresses https://github.com/bos/mysql/issues/5
Thanks