fixed libpq detection on Solaris x86