Fixed error on module node creation in release mode.