fixup postgres build: only build libpq and then clear shared libs