Support parameterized NDK toolchain architecture.