For Android NDK