core: Resurrect gcc support.