Fix linaro toolchain compatibility