mge-xml: fix compile-time warnings, versioning