undo constness of synthmod::duplicate_module due to linked_list