xmp: fix compilation on 10.6