Some fixes. ROM Compiles now..EGL crash

Change-Id: I797b5552ba6090cc98ba658dc9b994f9ea4ad042