Use PACKAGE_VERSION instead if PQlibVersion

PQlibVersion was added in PostgreSQL 9.1