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