Fixed multiple module including

When the same unit was included more than once, its bytecode was also
each time copied which obviously is wrong.