added native build and fixed cross-build through the NDK