don't link -lpqxx statically, most modern distros don't have static libs anymore