[GUI] Fixed GCC compile errors.