patching __import__ of more versions of python