MAINT: fix compilation issue gh-3443.
Merge PR-3444 from 'jmozmoz:master' into master.

https://github.com/numpy/numpy/pull/3444
Fixed compilation with Cygwin.