Android NDK9 + Logcat fixes