Initial build script, handles the entire NDK build so far.