Fix XCTest framework for XCode 6 beta 2.

Fixes build errors:
![screen shot 2014-06-19 at 10 19 03 am](https://cloud.githubusercontent.com/assets/575610/3328450/c7fb9f6c-f7bc-11e3-9318-36b86d8826fa.png)