Fix build related to emitTempNodes

Apparently these global flags changed from Module to Driver.  The
problematic commit came from an old pull request from before this
change.
Merge pull request #188 from palmer-dabbelt/master

Fix build related to emitTempNodes