[GUI] Fixed GCC compile error.