fix script for cygwin