Sometimes libEGL.so can be available (provided as a symlink by Debian diversion packages) while EGL/egl.h isn’t.