[cs] Remove @:functionCode from cs.Lib and use haxe instead.