Merge pull request #649 from dawgfoto/fix11378

fix Issue 11378 - implicit runtime initialization/finalization is broken
Merge remote-tracking branch 'upstream/2.064' into ldc-merge-2.064