Updated to work with Xcode 5.1