Fix build with clang 3.1

Submitted by: cy@