Fix clang compilation errors.