Fix build of persistent-postgresql and persistent-sqlite

This was broken by b1ae9340c7a2acbdb6d947ad4767b844dfd79a1e

Maybe -mysql needs a fix too, but I'll add another ticket for that since mysql (not persistent-mysql) doesn't build with with Cabal 1.18. Edit: Ticket is bos/mysql#6