fix linaro compile