Fix libmimetic for building with clang++