xpp: Fix compile error with fedora 17