Fixes compiler warnings after Xcode update.