Incorporate some changes that make OpenSSL compilable in CygWin.