Fix path issues about cross plateform support