Fix undefined C symbol in Python runtimes compiled without threading support
changelog