Optimize build.