fix gcc tap suggestion

Closes #18520.