Add dependencies for pdf and docx conversions