Fixed problem caused by Xcode 6.1