Building for ESDefered error

I am trying to get OpenGLES3.1 work with my git clone of the Unreal Engine
I have seen that in the BaseEngine.ini only bBuildForESDefered exist and no bBuildForES31 anymore, so I guess thats what I have to go for, but I get an error while building both in VS2015 and in UE4 Editor(Source).

I am attacing my CodeWorks setup and my env vars. plus the output log from VS2015.

Let me know if some additional information is needed!

[output log][1]

Hi kornel.l.varga,

Even though this setting is not included in the .ini file by default, you can still add it in. Adding bBuildForES31=true to your BaseEngine.ini file will turn this setting on for all projects created in your Engine. If you don’t want it to be turned on for all projects, it may be better to put it in your project’s DefaultEngine.ini file. In either case, you can toggle the setting on or off in the Project Settings window in the Editor, which will update the project’s DefaultEngine.ini file.

With regards to the build error that you are seeing, do you see the same build error occur in the Release branch of the engine? Did you make any changes to the Engine source code before attempting to build the Engine?