There are some weird #ifdefs in the code that are dependent on this define and prevented the xpath functions from being enabled. I'm really not sure why they're there - possibly to build a smaller library without the xpath functionality.