xmerl: Fix xmerl example motorcycle2html

* Update obsolete guards
* Use -include_lib to make the example compilable