Move -Wnon-virtual-dtor to c++ flags