Fixes Xcode Compiler warnings