fix latest HAS_NAMESER code on cygwin, mac and openbsd
don't use PIE/PIC unless specified on cygwin as cygwin doesn't support it
don't try and build doc if xmlto isn't found
the other part of the xmlto fix
cleanup some warnings from make check