Linaro GCC 4.8 fixes