Update the build system so that xerces LDFLAGS are set properly