use sysfs instead of prebuilt egl.cfg

Change-Id: Ibaa18d66856e644b19ba7990568f63aee60bc7c9