Compile fix for OpenGLView on HTML5