fixed compilation errors for lua projects. Rebuild LuaCocos2d.cpp.