Fix linaro compile