Fixing compilatioin errors with arm toolchain.