Get expat configuration from pkg-config settings for tests