Optimized build process