Fixing clang warnings