Fixed compilation errors with that latest Xcode version