Avoid using GCC-specific pragmas on compilers that don't grok them.