sync upstream code
ship pdf.dll and fix linux build