Add Cygwin support to library copy script