Support building for any other android architecture

This allows e.g. building for mips, as a plain C++ build with
no assembly.