xmlcatmgr: cross build and debug support.