Added support for minimal builds

Fixed potential loading issue for zlib in pure Tcl metakit