Optimize build speed