Work around redmine #6316
Add libpq-dev as a build-dep