Optimize Linaro build