Fix a compile problem that occurs when using clang