COMP: Fix standalone compilation and remove dead code (dice, ndgm, and expat not pertinant to xdmf anymore)