Many of them cascading from the update of glib.
Patch the Makefile to avoid assuming that CC is arm-linux-androideabi-gcc on Android, and use the CFLAGS and LDFLAGS already set. Also avoid inlining the TERMUX_PREFIX value.