PD4ML deos not rely to any native components or shared resources, so I see no reason for the conflicts.
If the document merging is the only need for the DLL, I would recommend to use open source iText Java library to process documents, generated by PD4ML.