fixing builtins import for python3

the compatibility with python3 seams to be somewhat broken, that is one simple thing to fix, but there are more things missing