Ensure that ghostscript does not try to compile with pthread support.