fixed clang++ compile problem