Enable expat by default in autotools

Can be disabled with --disable-xml if desired.
Expat checking now requires pkg-config.