Fixed BeaconFoundation to work with Xcode 6 beta 5. -PR