adding both static and dynamic lib building