You need to edit the Makefile slightly, the library names for GLESv2 and EGL changed (they had in Jessie but back then the old names were still in use as well). Where it links the files you need to change the