build scripts for building client package.