Fixed various linux compile errors in EglContext