I've got a patch for tolua but I can't work out how the lua files are compiled. @madmaxoft do you remember how you fixed Astring?