Enable building on all Android architectures, including MIPS (working around an MIPS NDK linker bug).

As per previous pull request.

Cheers!
-Andrew.