Modify lua project setting and replace NativeActivity with Cocos2dActivity