linux gcc build fix