Revert "Fix build with Cygwin"

This reverts commit 4d84b05506f77d66b0a2c7926d697d476b50fd8d.