Fix compiler warnings with clang.