Fix building for iOS

Signed-off-by: Mark Kirk <mklists@gmail.com>