Fix build for clang 3.3
Contributed by Benyu Zhang <byzhang@gmail.com>