Fix dependency issue on xcode 6 beta 2