Delete not needed sources, fix build on linux