Fix compile error when use linaro