Made destructor virtual for safety. Clang still does not build.