configure script fails to detect clang on OS X.

On OS X, when "cc" points to clang, configure script fails to detect it and
builds an incorrect shared library.