I don't exactly remember. I believe it was conflicts with the library file. Now that I know I can get thr headers separate from the library though, it should be easier now
I can build a new clang toolchain with Cosmopolitan libc and then put it on my Termux install, which will simplify things a ton by allowing me to have a portable NDK setup