Link to libEGL even if only libGLESv2 was requested. Some symbols are
only defined in one and needed by the other.
Merge pull request #943 from pumphaus/qt5-glesv2-fix

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