implemented common lib build