Fix some warnings on clang