more robust PDB install handling