[SM5] Function error MatLayer_Blend_Standard

I’ve been following the tutoorial video for ‘DDO Painter for UE4: Master Materials’ and I’m getting errors while compiling the master material shader. Specifically with ‘MatLayerBlend_Standard’ shader I am getting errors but im not sure how to resolve them.

Also with the ‘MakeMaterialAttribute’ node I am getting errors on both Normal and Roughness properties.