Fix some warnings when compiling with Clang.