Your comments

Sorta found the culprit for the compile error.

The shader is for an ocean, I have a custom reflection, refraction, tesselation and it's a PBR shader.
When I disable the Write Meta Pass (Light Bounce Coloring), the error about the undeclared identifier goes away and I can build the project again!

Hi! I'm having a similar issue, with Unity 5.5.0f3 I'm stuck on Shader Forge 1.28 and cannot download 1.30. Shader Forge 1.28 will not work on Unity 5.5 - but apparently you have that fixed in 1.30.