[trunk] Corrected a mistake in Xcode builds for dynamic libraries