Make pre-commit.sh script more compatible

sh-utils package shipped with msysGit doesn't support "uname -o"
Change pre-commit.sh version check policy

From != to >