fix build.sh for msysgit