(Try to) make it work with clang c++