Use __declspec(dllexport) when KHRONOS_DLL_EXPORTS is defined.
Update to the current versions found at http://www.khronos.org/registry/egl/. There is one modification in khrplatform.h for GCC visibility.