now creates valid xml (added outer tags)
now statically links the libs