Fix for Xcode beta 6