Rewrite DUCET handling to remove all static initialization code.