iOS buildfix and clang warning fixes

Caught one stupid mistake, thanks clang.

-[Unknown]