Fix to work with Clang