Compile CUDA problem

I applied the new Hair node patch from broadstu, to Blender 56833
Compiled it with MinGW64 + CMake this is the error im getting…
any ideas? closure and hair?

nvcc warning : Option '--opencc-options (-Xopencc)' is obsolete and ignored, wh
n targeting compute_20, sm_20, or higher
kernel.cu
c:\blendersvn\blender\intern\cycles\kernel\closure\../closure/bsdf_hair.h(90):
rror: class "ShaderClosure" has no member "T"

c:\blendersvn\blender\intern\cycles\kernel\closure\../closure/bsdf_hair.h(83):
arning: variable "phi_g" was declared but never referenced

c:\blendersvn\blender\intern\cycles\kernel\closure\../closure/bsdf_hair.h(89):
arning: variable "roughness2" was declared but never referenced

c:\blendersvn\blender\intern\cycles\kernel\closure\../closure/bsdf_hair.h(140):
error: class "ShaderClosure" has no member "T"

c:\blendersvn\blender\intern\cycles\kernel\closure\../closure/bsdf_hair.h(194):
error: class "ShaderClosure" has no member "T"

c:\blendersvn\blender\intern\cycles\kernel\closure\../closure/bsdf_hair.h(208):
warning: variable "out" was declared but never referenced

c:\blendersvn\blender\intern\cycles\kernel\closure\../closure/bsdf_hair.h(236):
error: class "ShaderClosure" has no member "T"

c:\blendersvn\blender\intern\cycles\kernel\closure\../closure/bsdf_hair.h(229):
warning: variable "phi_g" was declared but never referenced

c:\blendersvn\blender\intern\cycles\kernel\closure\../closure/bsdf_hair.h(288):
error: class "ShaderClosure" has no member "T"

c:\blendersvn\blender\intern\cycles\kernel\closure\../closure/bsdf_hair.h(281):
warning: variable "phi_g" was declared but never referenced

c:\blendersvn\blender\intern\cycles\kernel\closure\../closure/bsdf_hair.h(287):
warning: variable "roughness2" was declared but never referenced

c:\blendersvn\blender\intern\cycles\kernel\closure\../closure/bsdf_hair.h(350):
error: class "ShaderClosure" has no member "T"

c:\blendersvn\blender\intern\cycles\kernel\closure\../closure/bsdf_hair.h(343):
warning: variable "phi_g" was declared but never referenced

c:\blendersvn\blender\intern\cycles\kernel\closure\../closure/bsdf_hair.h(403):
error: class "ShaderClosure" has no member "T"

c:\blendersvn\blender\intern\cycles\kernel\closure\../closure/bsdf_hair.h(478):
error: class "ShaderClosure" has no member "T"

8 errors detected in the compilation of "C:/Users/THEUNL~1/AppData/Local/Temp/t
pxft_000009e0_00000000-6_kernel.cpp4.ii".