Setting path based on OS