Conditional to use slash or back slash whether is windows or unix