fix for more strict gcc templates