build pgsql from source script