Added PDF optimization using ghostcript and cygwin support