Allow build --without-libxml

need to #ifdef wrap a popup window