Fixed GCC extension warnings.