Fixes for cygwin setup