fix compile error for linaro