zlib: fix configure script to detect compiler

The configure script relies on "gcc -v" to determine the compiler in
use on the system ("gcc" or "clang").

Fact is, on OS X "cc" is a symlink to clang.

Fixes #228.

Signed-off-by: Misty De Meo <mistydemeo@gmail.com>