Add script for building postgresql.