support for ming, zlib made optional, new command line options --enable-debug