fix a compilation error in clang3.6