add shared & static lib build