WinCE fixes for zlib 1.2.8