PKI rework

intend fix
Workabout for a possible LDC bug with __VERSION__