Added backwards compatibility for older versions of mono where monodoc x...

...ml did not contain correctly formed xml

Addresses issues in #534