Merge pull request #26 from fdelapena/master

Add --enable-xml to configure.ac to make expat optional and other fixes
Fix building when XML is enabled
Add error handling to LMU and LSD Writer. (LDB and LMT already had)
MSVC update
Merge pull request #27 from Ghabry/master

Add error handling to LMU and LSD Writer