Build for pagoda.