Fix compilation with clang trunk

Fixes #18