Fix nacl build
Use CXX compiler for building C++ code.

Use CC as a fallback.
Add support for GL_LIGHTING_BIT to RegalPpa.
JSON parsing fix.
Init::setContext fix.
Dump more GL state via HTTP.
Refresh mongoose library for HTTP handling.