how to render Shinsuke IRIE's toon in 2.7?

You maybe know “Toon Shading Experiment with Cycles OSL in Blender” by Shinsuke IRIE, which can be found at http://www.twptp.com/toon-shading-experiment-with-cycles-osl-in-blender-V2NRRnMxb3Bva0k.html
The supplied blend file has something wrong which says “ERROR: Closure ‘specular_toon’ is not supported by the current renderer”.
To replace specular_toon with glossy_toon does not produce nice render too.
So the question is what can we do with this OSL script within Blender 2.7?
Thanks