fix for EGL_NEEDS_FNW