Fixed static framework build script for Xcode6.1.1