Fix Xcode 6.1 build issue