fix x86 build error when doing automake of libexpat