Make it easier to add EGL support.