Fix clang errors