Changed to static compilation. It assumes the required component (zlib) is added as target before (see the corresponding repository in this account).