fix build for xcode 6.1