add lua
fix lua errors on windows
add tolua
tolua compilation