fix lua generator

fix compile error

fix lua
Merge pull request #62 from nikuuchi/lua

fix lua generator