Modify the logic of compiling scripts when building project.

1. Developers can only encrypt the lua scripts without compiling them into byte-code.
2. Not compiling lua scripts into byte-code when building project for iOS.