on Android, use NDK logging facilities for runtime-debug messages and activate debug-mode by default