Add the imported module to sys.modules

This fixes the python 3.3 and 3.4 compatibility issues.