fixes compileation of diet-templates with GDC
Merge pull request #685 from UplinkCoder/gdc-fixes

fixes compileation of diet-templates with GDC