Switch to CPP extension and the C++ compiler

CPPFLAGS="-fpermissive -fno-exceptions -fno-rtti"
Paying special attention to C++ keywords, conversion bugs, varargs bugs,
using extern "C" wherever dynamic symbol lookup is need (g_module_symbol, etc)
For example signals connected to GtkBuilder code.