Fixup some compile errors that Xcode did not flag.