Fix to compile with Linaro toolchain