Fix warnings with Apple's compiler.