Add extern "C" to rglgen.h as well.