Build-system performance optimization