Automatic setting of CC on OS X

Avoids the need to set CC manually on OS X.  This takes care of issue #308 without a workaround.