diff --git a/Custom_Hooks/eb_hooks.py b/Custom_Hooks/eb_hooks.py
index 9cbe59156b9ce41bf307b6809470fd4ec37b0c6b..8e1365f3d3771a2a11b5320d15ff4c92bb462205 100644
--- a/Custom_Hooks/eb_hooks.py
+++ b/Custom_Hooks/eb_hooks.py
@@ -298,6 +298,7 @@ def tweak_moduleclass(ec):
 
 
 def tweak_module_conflict_side_compilers(ec):
+    ec_dict = ec.asdict()
     if ec['name'] in SIDECOMPILERS:
         key = "modluafooter"
         value = 'conflict(%s)' % ','.join('"'+x+'"' for x in SIDECOMPILERS)