Fixes clang errors