--disable-static is temporarilly removed due to build error with xml2-config that does not support '--dynamic' argument.