add fix for cygwin warning