Fix virtual destructor of FileTypeResolver