Conditionally set CC

This allows builds on systems using non gcc compiler (e.g. FreeBSD)