Linux adaptation: path correction to samples