Fixed compiling and linking error of new lua projects when using NDK r10 above.
new console version
Merge pull request #9289 from Dhilan007/v3-lua-fix

Fixed compiling and linking error of new lua projects when using NDK r10 above.