Library no hxt

This adds a Library build.

I am not using the XML parsing code at all and I didn't want the hxt dependency, so I added a build flag to remove that.