Bugfix for pepper_34.

Added initial support for PPB_Var;1.2 to fix the OpenGL example.
Defined a variable in common.mk to fix the PNaCl build.