[EGL] Fix build after #3298
Merge pull request #3355 from popcornmix/fixbuildegl

[EGL] Fix build after #3298