Qt5: Link to libEGL even if only libGLESv2 was requested. Fixes texmaker build.

Some symbols are only defined in one and needed by the other. This fixes the texmaker build.