fix compatibility between windows and linux about directory separator