initialize ndk lazily