Fix some compiler warnings from Clang.