Cflags and other GCC fixes for compiling with linaro fixes