Fix compat for CPython/PyPy 2.x

__builtins__ should be accessed as a module, not a dict.
Update _compat.py

Support both __builtins__ as a dictionary and a module.
Merge pull request #398 from noirbizarre/patch-1

Fix compat for CPython/PyPy 2.x