fix compile on clang++