3.8 and newer seem to have os.add_dll_directory doing the work there. Just disable it for now.
os.add_dll_directory