add build script for server-stub