Fix compile with linaro toolchain