Update postgres installn to use the distro packages if necessary