Properly detect OpenGL ES
Merge pull request #112 from tomaka/opengles

Properly detect OpenGL ES