Fix clang++ behavior