fix build on Xcode 5.1 and SDK 7.1