* cmake-config can be work both on python2/3.
* Add execution flag for generated shell script.