Fixed Linux and Win builds.
Added missing cl_gl_ext.h to externs.
Updated for Firefox 19.