Modified for GCC-4.8 - Specifically Linaro