Fix non-DITA link handling in PDF #1663
Fix key processing on Windows #1662