Patched to fix xsyms compliation from internet.