Fix gcc build error

[#74774412]