create static and shared libraries