lua 5.1 compile error fixes
lua 5.1 compile error fixes

karlnapf/shogun,besser82/shogun,Saurabh7/shogun,besser82/shogun,Saurabh7/shogun,geektoni/shogun,shogun-toolbox/shogun,sorig/shogun,Saurabh7/shogun,lambday/shogun,karlnapf/shogun,shogun-toolbox/shogun,sorig/shogun,geektoni/shogun,Saurabh7/shogun,shogun-toolbox/shogun,lisitsyn/shogun,Saurabh7/shogun,sorig/shogun,Saurabh7/shogun,geektoni/shogun,besser82/shogun,karlnapf/shogun,besser82/shogun,geektoni/shogun,besser82/shogun,karlnapf/shogun,geektoni/shogun,besser82/shogun,lisitsyn/shogun,lambday/shogun,lambday/shogun,shogun-toolbox/shogun,geektoni/shogun,shogun-toolbox/shogun,Saurabh7/shogun,shogun-toolbox/shogun,lambday/shogun,sorig/shogun,lisitsyn/shogun,karlnapf/shogun,lambday/shogun,karlnapf/shogun,sorig/shogun,sorig/shogun,lisitsyn/shogun,lambday/shogun,lisitsyn/shogun,lisitsyn/shogun,Saurabh7/shogun,Saurabh7/shogun