Fix compatibility with linaro toolchain