Only apply -Wall for GCC.

The Solaris Studio C compiler chokes on this flag.