packaging: install libpq-dev, add headers