Cleaned up compiler warnings in XCode 6