Fixes #315 - Warnings when compiling with Xcode 6