Fix Xcode5 compiler issues

No more issues building with Xcode5