fix a clang compile issue