CygWin compile fixes. It shall now compile under CygWin again.