Fixed GCC errors.