closed #4097: Adds a macro to disable inserting script binding relevant codes.