Fix #15 by explicitly testing for GCC's CAS.

Patch by @zimbatm.