Find GLESv2 library dependencies properly