Fixed uaddCarray #253. Fixed GCC build errors.