Fix All compiler errors and warnings caused by linaro and/or misplacemen...

...ts........