add mode aim in Makefile to solve file mode problem in cygwin, modify version.sh