enable GLESv1 and GLESv2 in mesa build

Surprisingly, GLES libraries are not built by default in mesa.  This
commit adds the necessary build options to enable them.