This is a bug in the eglext.h file. The line should be changed to:
#define EGL_NO_IMAGE_KHR ((EGLImageKHR)0)
This will be done in a (hopefully soon) update to the eglext.h on the khronos website, but for now you can just change the local copy of your eglext.h file.