fix Kompare to supporte multi platform