fix gcc patch