Material with custom code and tesselation does not compile

FireFenix, can you make this patch work for Unreal 4.9.2 ?