make project compile and run in Xcode6 beta 4