change for clang++ compatibility