Fix issue in building plugin archive.