gcc build fix