Making project work with xcode 5.1