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