added workaround for struct lifetime bug in dmd 2.064