Fix compat for CPython/PyPy 2.x

``__builtins__`` should be accessed as a module, not a dict.