Fix some warnings from clang.