Register postgresql-sdbc libs only if we build them, surely?

Change-Id: I8cee0b3ee52925029834605c86fc01303e34b0c4