Makefile tweaks to allow for CC to be overridden in the environment.

Don't hard-set CC so that the default compiler is used unless it's
overridden from the environment or the command line.  Also, use $(CC)
rather than $(LD) for linking because this program doesn't require any
special linking features.

These changes allow, among other things, clang's static analyzer wrapper
to work properly.