libexpat is not the only solution to XML parsing (although it is a decent one). There are many
Pure Perl (no compile required at installation) solutions as well which should work on most recent versions of perl. I would however use these only as a stop-gap or fallback solution as they tend to be slower.