Remove vendor folder and improve tcpdf compatibility