better xcode project: build libraries first