Fix warnings on clang