Optimize piglibs installer