Fix regression: partial template specializations only work for classes