php-pear: better fix to detect xml.so