Fixed various linux compile errors in EglContext
Merge pull request #574 from jcowgill/egl-linux-fixes

Fixed various linux compile errors in EglContext