Compilation is more portable by not calling gcc

The POSIX standard does not mandate that the compiler will be
available as `gcc`. It does, however, guarantee that `cc` is
available. This fixes compilation on FreeBSD 10, which does not
ship gcc.