CMake fixing missing library reference to pq.