Fix ICE in bug #41 when using -femit-templates.