make it compile under clang