Issue#3781 Update script for each platform bindings generating.

1. The updated scripts need new binding generators.
1. On windows use .bat
2. Linux and Mac use .sh