Remove cutting ifdef in template.c