Make Python start up on Android by fixing locale crashes.