Fixed wrong linking to libGL instead of libGLESv2

Note that linking order is important. Thus libGlesv2 must be first to prevent
linking to libGL