Add Android dependency build script.

TODO: change NDK build system to link with dependencies.