Update pdns_with_postgresql.m4

Small patch to fix compilation on FreeBSD (and possibly other UNIX distributions)
Merge pull request #1731 from RvdE/patch-3

Update pdns_with_postgresql.m4