Invoke compilation via `cc', not `g++'. This fixes both the remaining run-time linkage resolution conflicts on Linux as well as several C++ compilation warnings that did not apply to compiling with C rules.