Update pdns_with_postgresql.m4

Small patch to fix compilation on FreeBSD (and possibly other UNIX distributions)