Fixed compiler warnings for upcoming version of Xcode