fix program generate.sh, no 'expr' program under mac os x, use 'uname' directly, change order, Darwin first, then Linux, Windows at last.
Content update