fix build due to new XCode version