Fix snippet path incorrect in linux.