zlib: fixed cross-compiling and simplified package conf