Refine the build steps