Added check for types with no virtual destructor when using default_delete and non-array types