fixes compileation of diet-templates with GDC

this fixes compilation of diet templates for me