automake: rework the EGL build