linaro 4.8 compiler errors fixed