ocamlmklib will get confused if the -cclib parameter expands to anything except a single -lxml2 argument. In any case it's not necessary to specify the linker command here since every use of this library links in a program to libxml2.