Fixed gl/egl to run embedded