FIX: non-rpi egl fails to compile
Merge pull request #2104 from koying/fix-egl-compile

FIX: non-rpi egl fails to compile