Add build script for ztdd