fix a compilation error regarding to `xobs_sprintf`