Apply share option to component popt and zlib.