Fixed compiler error for Xcode 6.1