Use the evironment for the CC binary

This is also be merged into stable for the 2.8 release as the ossec-lua introduced a regression into clang builds.  

See discussion at https://groups.google.com/forum/#!topic/ossec-list/FOTncDNnNk0