Fixed GCC compile error