Stop linking with pgsql with hardcoded -lssl

This is only for the dynamic case, static case uses
OBJECTLIBS to do the right thing.