fix OpenGL support on Windows, add support for using OpenGL in NPAPI plugins