compiler: avoid barfing when config.h & the current -std= mode mismatch