Fixed to compile under clang 3.6