Didn't know about that, but would not this part of code overwrite USE_OPENGL_ES2=0 when it finds the headers?  Didn't see any reason why this variable is locked here :/