Fix compatibility to build with Linaro Toolchain