fix clang compile error