remove usage of undefined NSFoundationVersionNumber_iOS_6_1

NSFoundationVersionNumber_iOS_6_1 was only defined in the iOS 7 sdk, so it shouldn't be used yet. the code won't compile in xcode 4.6,