Do not set atpanic if Lua is not built as C++ library
Remove virtual from descructor