Make EGL loading more resilient.

Lesson learned while trying to run L4D2 under Wayland :)