Immediately make a Module out of the input to compileToCCore.
Merge pull request #132 from pjonsson/refactor-compiler

Immediately make a Module out of the input to compileToCCore.