Support C++ code generation

When you choose to generate C++ code, the C++ compiler will be used
automatically instead of C compiler. If you wish to generate C code, but
use C++ compiler, you have to modify line 12 of qnxtools.mak to read
"DEFAULT_OPT_OPTS = -lang-c++"