python. fix dynload dlopen when loading modules

this again recoveres MacOSX 10.6 support