Apple: ignore -Wdeprecated-declarations warnings