Fixed dllmain in libEGL and libGLESv2